#include <iostream>
using namespace std;

class stu
{
public:
	void sun(int =3, int =5);
	void func(bool = false);
	
private:
	int x;
	int y;	
};

void stu::sun(int w, int h)
{
	x = w;
	y = h;
}

void stu::func(bool val)
{
	if(val == false)
	{
		cout<<"x1="<<x<<endl;
		cout<<"y1="<<y<<endl;
	}
	else
	{
		cout<<"x2="<<x<<endl;
		cout<<"y2="<<y<<endl;
	}
}

int  main(void)
{
	stu jack;
	
	jack.sun();
	jack.func();
	jack.func(true);
	
	cout<<"===================="<<endl;
	jack.sun(52, 32);
	jack.func();
	jack.func(true);
	
	
	
	return 0;
}